<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_plot_spectrogram.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__plot__spectrogram_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_plot_spectrogram.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_plot_spectrogram.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_painter.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_interval.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_map.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_color_map.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;qwt_math.h&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;qimage.h&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;qpen.h&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;qthread.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;qfuture.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;qtconcurrentrun.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define DEBUG_RENDER 0</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#if DEBUG_RENDER</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;qelapsedtimer.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> qwtIsNaN( <span class="keywordtype">double</span> d )</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="comment">// qt_is_nan is private header and qIsNaN is not inlined</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="comment">// so we need these code here too</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">const</span> uchar* ch = (<span class="keyword">const</span> uchar*)&amp;d;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">if</span> ( QSysInfo::ByteOrder == QSysInfo::BigEndian )</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    {</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keywordflow">return</span> ( ch[0] &amp; 0x7f ) == 0x7f &amp;&amp; ch[1] &gt; 0xf0;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    }</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordflow">return</span> ( ch[7] &amp; 0x7f ) == 0x7f &amp;&amp; ch[6] &gt; 0xf0;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    }</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;}</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">class </span>QwtPlotSpectrogram::PrivateData</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        : <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">data</a>( NULL )</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        , <a class="code" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">colorTableSize</a>( 0 )</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a> = <span class="keyword">new</span> <a class="code" href="class_qwt_linear_color_map.html">QwtLinearColorMap</a>();</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        displayMode = <a class="code" href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062ac9696cad413e4a11a4721779728fb9e3">ImageMode</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        conrecFlags = <a class="code" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92">QwtRasterData::IgnoreAllVerticesOnLevel</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#if 0</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        conrecFlags |= <a class="code" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c">QwtRasterData::IgnoreOutOfRange</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    ~PrivateData()</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    {</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">data</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    }</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">void</span> updateColorTable()</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    {</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        {</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            colorTable = <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>-&gt;<a class="code" href="class_qwt_color_map.html#aaeaa92407f2256cafb5a38e148013845">colorTable256</a>();</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">colorTableSize</a> == 0 )</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                colorTable.clear();</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                colorTable = <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>-&gt;<a class="code" href="class_qwt_color_map.html#aaa71d720eb81ab3757d997b7dc421989">colorTable</a>( <a class="code" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">colorTableSize</a> );</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">data</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="class_qwt_plot_spectrogram.html#a1f8c30fffc82ac66f23791141bfa040c">DisplayModes</a> displayMode;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="class_q_list.html">QList&lt; double &gt;</a> <a class="code" href="class_qwt_plot_spectrogram.html#a30d8f32646e570e08b788709c1537237">contourLevels</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    QPen <a class="code" href="class_qwt_plot_spectrogram.html#afd1ebcdd70da66632a996bb57f6102e3">defaultContourPen</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="class_qwt_raster_data.html#a32c7f179e655dcc2fca1fdb851c1570e">QwtRasterData::ConrecFlags</a> conrecFlags;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">colorTableSize</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="class_q_vector.html">QVector&lt; QRgb &gt;</a> colorTable;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;};</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#aa128ac4b02ad125955cb14fe5c47ca6d">  108</a></span>&#160;<a class="code" href="class_qwt_plot_spectrogram.html#aa128ac4b02ad125955cb14fe5c47ca6d">QwtPlotSpectrogram::QwtPlotSpectrogram</a>( <span class="keyword">const</span> QString&amp; title )</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    : <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>( title )</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;{</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    m_data = <span class="keyword">new</span> PrivateData();</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a>, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a>( 8.0 );</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#ae76415d290cf4a512d07a17260b7a84a">  120</a></span>&#160;<a class="code" href="class_qwt_plot_spectrogram.html#ae76415d290cf4a512d07a17260b7a84a">QwtPlotSpectrogram::~QwtPlotSpectrogram</a>()</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;}</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#adde79ed6e9697d155db6749b40af87a3">  126</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_spectrogram.html#adde79ed6e9697d155db6749b40af87a3">QwtPlotSpectrogram::rtti</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7">QwtPlotItem::Rtti_PlotSpectrogram</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;}</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a482a82bcf1b9f2a9a75f527063b394a2">  141</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a482a82bcf1b9f2a9a75f527063b394a2">QwtPlotSpectrogram::setDisplayMode</a>( <a class="code" href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062">DisplayMode</a> mode, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">if</span> ( on != <span class="keywordtype">bool</span>( mode &amp; m_data-&gt;displayMode ) )</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    {</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            m_data-&gt;displayMode |= mode;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            m_data-&gt;displayMode &amp;= ~mode;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;}</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#ab938bf688a9edde10a8846c754923a4c">  161</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_spectrogram.html#ab938bf688a9edde10a8846c754923a4c">QwtPlotSpectrogram::testDisplayMode</a>( <a class="code" href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062">DisplayMode</a> mode )<span class="keyword"> const</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;displayMode &amp; mode );</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;}</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a55375b61c01962b06ad222c980ca2dcc">  177</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a55375b61c01962b06ad222c980ca2dcc">QwtPlotSpectrogram::setColorMap</a>( <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* colorMap )</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;{</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a> == NULL )</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a> != m_data-&gt;colorMap )</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    {</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keyword">delete</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        m_data-&gt;colorMap = <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    m_data-&gt;updateColorTable();</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="class_qwt_plot_raster_item.html#a547ce4d8d031b230226cfbd509ef65b5">invalidateCache</a>();</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;}</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">  200</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">QwtPlotSpectrogram::colorMap</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;}</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a173dc74d1461ef0a78ef96e9850cda2c">  224</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a173dc74d1461ef0a78ef96e9850cda2c">QwtPlotSpectrogram::setColorTableSize</a>( <span class="keywordtype">int</span> numColors )</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;{</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    numColors = qMax( numColors, 0 );</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordflow">if</span> ( numColors != m_data-&gt;colorTableSize )</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    {</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        m_data-&gt;colorTableSize = numColors;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        m_data-&gt;updateColorTable();</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <a class="code" href="class_qwt_plot_raster_item.html#a547ce4d8d031b230226cfbd509ef65b5">invalidateCache</a>();</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    }</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;}</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">  238</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">QwtPlotSpectrogram::colorTableSize</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;colorTableSize;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;}</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#af883cb50d74057994b3179ab0e262e64">  256</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#af883cb50d74057994b3179ab0e262e64">QwtPlotSpectrogram::setDefaultContourPen</a>(</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keyword">const</span> QColor&amp; color, qreal width, Qt::PenStyle style )</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;{</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <a class="code" href="class_qwt_plot_spectrogram.html#af883cb50d74057994b3179ab0e262e64">setDefaultContourPen</a>( QPen( color, width, style ) );</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;}</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#afa3dea62acc8e5607e84bff8f50804b8">  272</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#af883cb50d74057994b3179ab0e262e64">QwtPlotSpectrogram::setDefaultContourPen</a>( <span class="keyword">const</span> QPen&amp; pen )</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;{</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <span class="keywordflow">if</span> ( pen != m_data-&gt;defaultContourPen )</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    {</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        m_data-&gt;defaultContourPen = pen;</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    }</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;}</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#afd1ebcdd70da66632a996bb57f6102e3">  287</a></span>&#160;QPen <a class="code" href="class_qwt_plot_spectrogram.html#afd1ebcdd70da66632a996bb57f6102e3">QwtPlotSpectrogram::defaultContourPen</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;defaultContourPen;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;}</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a187aedfbbaac00151004b456fed52694">  303</a></span>&#160;QPen <a class="code" href="class_qwt_plot_spectrogram.html#a187aedfbbaac00151004b456fed52694">QwtPlotSpectrogram::contourPen</a>( <span class="keywordtype">double</span> level )<span class="keyword"> const</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL || m_data-&gt;colorMap == NULL )</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <span class="keywordflow">return</span> QPen();</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> intensityRange = m_data-&gt;data-&gt;interval(Qt::ZAxis);</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keyword">const</span> QColor c( m_data-&gt;colorMap-&gt;rgb( intensityRange, level ) );</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160; </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="keywordflow">return</span> QPen( c );</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;}</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#adcec06278d4ff4b8dd3a85e2ef188d7b">  324</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#adcec06278d4ff4b8dd3a85e2ef188d7b">QwtPlotSpectrogram::setConrecFlag</a>(</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <a class="code" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">QwtRasterData::ConrecFlag</a> flag, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;{</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    <span class="keywordflow">if</span> ( <span class="keywordtype">bool</span>( m_data-&gt;conrecFlags &amp; flag ) == on )</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160; </div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        m_data-&gt;conrecFlags |= flag;</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        m_data-&gt;conrecFlags &amp;= ~flag;</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;}</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160; </div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a6eca600bc0c84985029a33de20e6527a">  350</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_spectrogram.html#a6eca600bc0c84985029a33de20e6527a">QwtPlotSpectrogram::testConrecFlag</a>(</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <a class="code" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">QwtRasterData::ConrecFlag</a> flag )<span class="keyword"> const</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;conrecFlags &amp; flag;</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;}</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a5b7669a3c390e30f0c51e5c4689095d2">  365</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a5b7669a3c390e30f0c51e5c4689095d2">QwtPlotSpectrogram::setContourLevels</a>( <span class="keyword">const</span> <a class="code" href="class_q_list.html">QList&lt; double &gt;</a>&amp; levels )</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;{</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    m_data-&gt;contourLevels = levels;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    std::sort( m_data-&gt;contourLevels.begin(), m_data-&gt;contourLevels.end() );</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;}</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160; </div>
<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a30d8f32646e570e08b788709c1537237">  382</a></span>&#160;<a class="code" href="class_q_list.html">QList&lt; double &gt;</a> <a class="code" href="class_qwt_plot_spectrogram.html#a30d8f32646e570e08b788709c1537237">QwtPlotSpectrogram::contourLevels</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;contourLevels;</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;}</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a5ee036cdf8dbaf5f8fd82a3fc47b023a">  393</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a5ee036cdf8dbaf5f8fd82a3fc47b023a">QwtPlotSpectrogram::setData</a>( <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* data )</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;{</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">data</a> != m_data-&gt;data )</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    {</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        <span class="keyword">delete</span> m_data-&gt;data;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        m_data-&gt;data = <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">data</a>;</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; </div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        <a class="code" href="class_qwt_plot_raster_item.html#a547ce4d8d031b230226cfbd509ef65b5">invalidateCache</a>();</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    }</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;}</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160; </div>
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">  409</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">QwtPlotSpectrogram::data</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data;</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;}</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160; </div>
<div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a4082962ff60af18a5212ea160f7b55ba">  418</a></span>&#160;<a class="code" href="class_qwt_raster_data.html">QwtRasterData</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">QwtPlotSpectrogram::data</a>()</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;{</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;}</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160; </div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a4c06929746da69d6cfef748236d26c95">  432</a></span>&#160;<a class="code" href="class_qwt_interval.html">QwtInterval</a> <a class="code" href="class_qwt_plot_spectrogram.html#a4c06929746da69d6cfef748236d26c95">QwtPlotSpectrogram::interval</a>(Qt::Axis axis)<span class="keyword"> const</span></div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL )</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a>();</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data-&gt;interval( axis );</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;}</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a336c5459f1e73d0d9bf1e5ab8b301419">  456</a></span>&#160;QRectF <a class="code" href="class_qwt_plot_spectrogram.html#a336c5459f1e73d0d9bf1e5ab8b301419">QwtPlotSpectrogram::pixelHint</a>( <span class="keyword">const</span> QRectF&amp; area )<span class="keyword"> const</span></div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL )</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        <span class="keywordflow">return</span> QRectF();</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160; </div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data-&gt;pixelHint( area );</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;}</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160; </div>
<div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#afad1891c348cb65f4dcb891df022cb53">  480</a></span>&#160;QImage <a class="code" href="class_qwt_plot_spectrogram.html#afad1891c348cb65f4dcb891df022cb53">QwtPlotSpectrogram::renderImage</a>(</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    <span class="keyword">const</span> QRectF&amp; area, <span class="keyword">const</span> QSize&amp; imageSize )<span class="keyword"> const</span></div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keywordflow">if</span> ( imageSize.isEmpty() || m_data-&gt;data == NULL</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;        || m_data-&gt;colorMap == NULL )</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    {</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;        <span class="keywordflow">return</span> QImage();</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    }</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160; </div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> intensityRange = m_data-&gt;data-&gt;interval( Qt::ZAxis );</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    <span class="keywordflow">if</span> ( !intensityRange.<a class="code" href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">isValid</a>() )</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;        <span class="keywordflow">return</span> QImage();</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; </div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    <span class="keyword">const</span> QImage::Format format = ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a> )</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;        ? QImage::Format_ARGB32 : QImage::Format_Indexed8;</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160; </div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    QImage image( imageSize, format );</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;        image.setColorTable( m_data-&gt;colorMap-&gt;colorTable256() );</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160; </div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;    m_data-&gt;data-&gt;initRaster( area, image.size() );</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160; </div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<span class="preprocessor">#if DEBUG_RENDER</span></div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    QElapsedTimer time;</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    time.start();</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160; </div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;<span class="preprocessor">#if !defined( QT_NO_QFUTURE )</span></div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    uint numThreads = <a class="code" href="class_qwt_plot_item.html#ae3651df9594cb48f8221f7b1cc7852ca">renderThreadCount</a>();</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160; </div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    <span class="keywordflow">if</span> ( numThreads &lt;= 0 )</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;        numThreads = QThread::idealThreadCount();</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160; </div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    <span class="keywordflow">if</span> ( numThreads &lt;= 0 )</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;        numThreads = 1;</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160; </div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> numRows = imageSize.height() / numThreads;</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; </div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;    <a class="code" href="class_q_vector.html">QVector&lt; QFuture&lt; void &gt;</a> &gt; futures;</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    futures.reserve( numThreads - 1 );</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    <span class="keywordflow">for</span> ( uint i = 0; i &lt; numThreads; i++ )</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    {</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;        QRect tile( 0, i * numRows, image.width(), numRows );</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;        <span class="keywordflow">if</span> ( i == numThreads - 1 )</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;        {</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;            tile.setHeight( image.height() - i * numRows );</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;            <a class="code" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">renderTile</a>( xMap, yMap, tile, &amp;image );</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;        }</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        {</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;            futures += QtConcurrent::run(</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;#<span class="keywordflow">if</span> QT_VERSION &gt;= 0x060000</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;                &amp;<a class="code" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">QwtPlotSpectrogram::renderTile</a>, <span class="keyword">this</span>,</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;#<span class="keywordflow">else</span></div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;                <span class="keyword">this</span>, &amp;<a class="code" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">QwtPlotSpectrogram::renderTile</a>,</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;#endif</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;                xMap, yMap, tile, &amp;image );</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        }</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;    }</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160; </div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; futures.size(); i++ )</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        futures[i].waitForFinished();</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; </div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;    <span class="keyword">const</span> QRect tile( 0, 0, image.width(), image.height() );</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;    <a class="code" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">renderTile</a>( xMap, yMap, tile, &amp;image );</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160; </div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="preprocessor">#if DEBUG_RENDER</span></div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    <span class="keyword">const</span> qint64 elapsed = time.elapsed();</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;    qDebug() &lt;&lt; <span class="stringliteral">&quot;renderImage&quot;</span> &lt;&lt; imageSize &lt;&lt; elapsed;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160; </div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    m_data-&gt;data-&gt;discardRaster();</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160; </div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <span class="keywordflow">return</span> image;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;}</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160; </div>
<div class="line"><a name="l00572"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">  572</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">QwtPlotSpectrogram::renderTile</a>(</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;    <span class="keyword">const</span> QRect&amp; tile, QImage* image )<span class="keyword"> const</span></div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a> range = m_data-&gt;data-&gt;interval( Qt::ZAxis );</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;    <span class="keywordflow">if</span> ( range.<a class="code" href="class_qwt_interval.html#a200b2674f992802666b785a941b26612">width</a>() &lt;= 0.0 )</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160; </div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> hasGaps = !m_data-&gt;data-&gt;testAttribute( <a class="code" href="class_qwt_raster_data.html#aa9a0ea0f92af158a354421c3651fdfafac421ef9c406513f8c068aa88794f48c2">QwtRasterData::WithoutGaps</a> );</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160; </div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a> )</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;    {</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">int</span> numColors = m_data-&gt;colorTable.size();</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;        <span class="keyword">const</span> QRgb* rgbTable = m_data-&gt;colorTable.constData();</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;        <span class="keyword">const</span> <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a> = m_data-&gt;colorMap;</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160; </div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> y = tile.top(); y &lt;= tile.bottom(); y++ )</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;        {</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> ty = yMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( y );</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160; </div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;            QRgb* line = <span class="keyword">reinterpret_cast&lt;</span> QRgb* <span class="keyword">&gt;</span>( image-&gt;scanLine( y ) );</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;            line += tile.left();</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160; </div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;            <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> x = tile.left(); x &lt;= tile.right(); x++ )</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;            {</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> tx = xMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( x );</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160; </div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> value = m_data-&gt;data-&gt;value( tx, ty );</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; </div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;                <span class="keywordflow">if</span> ( hasGaps &amp;&amp; qwtIsNaN( value ) )</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;                {</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;                    *line++ = 0u;</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;                }</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( numColors == 0 )</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;                {</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;                    *line++ = <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>-&gt;<a class="code" href="class_qwt_color_map.html#aaed0bb47b6379696c588732348438136">rgb</a>( range, value );</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;                }</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;                {</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;                    <span class="keyword">const</span> uint index = <a class="code" href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">colorMap</a>-&gt;<a class="code" href="class_qwt_color_map.html#a0f7fae3f9e9581b47f56fd060da7860c">colorIndex</a>( numColors, range, value );</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;                    *line++ = rgbTable[index];</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;                }</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;            }</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;        }</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    }</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_data-&gt;colorMap-&gt;format() == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    {</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> y = tile.top(); y &lt;= tile.bottom(); y++ )</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;        {</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> ty = yMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( y );</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160; </div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;            <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* line = image-&gt;scanLine( y );</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;            line += tile.left();</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160; </div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;            <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> x = tile.left(); x &lt;= tile.right(); x++ )</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;            {</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> tx = xMap.<a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">invTransform</a>( x );</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160; </div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> value = m_data-&gt;data-&gt;value( tx, ty );</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160; </div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;                <span class="keywordflow">if</span> ( hasGaps &amp;&amp; qwtIsNaN( value ) )</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;                {</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;                    *line++ = 0;</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;                }</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;                {</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;                    <span class="keyword">const</span> uint index = m_data-&gt;colorMap-&gt;colorIndex( 256, range, value );</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;                    *line++ = <span class="keyword">static_cast&lt;</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">&gt;</span>( index );</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;                }</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;            }</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;        }</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;    }</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;}</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; </div>
<div class="line"><a name="l00663"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a27741cdb8370313fed45143b366ba4a4">  663</a></span>&#160;QSize <a class="code" href="class_qwt_plot_spectrogram.html#a27741cdb8370313fed45143b366ba4a4">QwtPlotSpectrogram::contourRasterSize</a>(</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    <span class="keyword">const</span> QRectF&amp; area, <span class="keyword">const</span> QRect&amp; rect )<span class="keyword"> const</span></div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    QSize raster = rect.size() / 2;</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160; </div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <span class="keyword">const</span> QRectF pixelRect = <a class="code" href="class_qwt_plot_spectrogram.html#a336c5459f1e73d0d9bf1e5ab8b301419">pixelHint</a>( area );</div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    <span class="keywordflow">if</span> ( !pixelRect.isEmpty() )</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    {</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;        <span class="keyword">const</span> QSize res( qwtCeil( rect.width() / pixelRect.width() ),</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;            qwtCeil( rect.height() / pixelRect.height() ) );</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;        raster = raster.boundedTo( res );</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;    }</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160; </div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    <span class="keywordflow">return</span> raster;</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;}</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160; </div>
<div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a2cd469661b39d9cd13ba083c3f7d513d">  689</a></span>&#160;<a class="code" href="class_q_map.html">QwtRasterData::ContourLines</a> <a class="code" href="class_qwt_plot_spectrogram.html#a2cd469661b39d9cd13ba083c3f7d513d">QwtPlotSpectrogram::renderContourLines</a>(</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;    <span class="keyword">const</span> QRectF&amp; rect, <span class="keyword">const</span> QSize&amp; raster )<span class="keyword"> const</span></div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL )</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_qwt_raster_data.html#a2632728957a7c118d225d63ab539b21d">QwtRasterData::ContourLines</a>();</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;data-&gt;contourLines( rect, raster,</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        m_data-&gt;contourLevels, m_data-&gt;conrecFlags );</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;}</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160; </div>
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#a6fe73bad104b96aee6bfd89659ecf870">  709</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#a6fe73bad104b96aee6bfd89659ecf870">QwtPlotSpectrogram::drawContourLines</a>( QPainter* painter,</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_q_map.html">QwtRasterData::ContourLines</a>&amp; contourLines )<span class="keyword"> const</span></div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;data == NULL )</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160; </div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> numLevels = m_data-&gt;contourLevels.size();</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> l = 0; l &lt; numLevels; l++ )</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    {</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">double</span> level = m_data-&gt;contourLevels[l];</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160; </div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;        QPen pen = <a class="code" href="class_qwt_plot_spectrogram.html#afd1ebcdd70da66632a996bb57f6102e3">defaultContourPen</a>();</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;        <span class="keywordflow">if</span> ( pen.style() == Qt::NoPen )</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;            pen = <a class="code" href="class_qwt_plot_spectrogram.html#a187aedfbbaac00151004b456fed52694">contourPen</a>( level );</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160; </div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;        <span class="keywordflow">if</span> ( pen.style() == Qt::NoPen )</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160; </div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;        painter-&gt;setPen( pen );</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160; </div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;        <span class="keyword">const</span> QPolygonF&amp; lines = contourLines[level];</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; lines.size(); i += 2 )</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;        {</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;            <span class="keyword">const</span> QPointF p1( xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( lines[i].x() ),</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;                yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( lines[i].y() ) );</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;            <span class="keyword">const</span> QPointF p2( xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( lines[i + 1].x() ),</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;                yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( lines[i + 1].y() ) );</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160; </div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;            <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter, p1, p2 );</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;        }</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;    }</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;}</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160; </div>
<div class="line"><a name="l00754"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectrogram.html#ac92832bf4f81210a1004a030857f4f69">  754</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectrogram.html#ac92832bf4f81210a1004a030857f4f69">QwtPlotSpectrogram::draw</a>( QPainter* painter,</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect )<span class="keyword"> const</span></div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;displayMode &amp; <a class="code" href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062ac9696cad413e4a11a4721779728fb9e3">ImageMode</a> )</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;        <a class="code" href="class_qwt_plot_raster_item.html#a0d93dc1cd50a43bc10bc1b1bfd457a4c">QwtPlotRasterItem::draw</a>( painter, xMap, yMap, canvasRect );</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160; </div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;displayMode &amp; <a class="code" href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062a64e86465a6d48ad80c4baadb144f9cf8">ContourMode</a> )</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    {</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        <span class="comment">// Add some pixels at the borders</span></div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">int</span> margin = 2;</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        QRectF rasterRect( canvasRect.x() - margin, canvasRect.y() - margin,</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;            canvasRect.width() + 2 * margin, canvasRect.height() + 2 * margin );</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160; </div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        QRectF area = <a class="code" href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">QwtScaleMap::invTransform</a>( xMap, yMap, rasterRect );</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160; </div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;        <span class="keyword">const</span> QRectF br = <a class="code" href="class_qwt_plot_raster_item.html#a0da9b86321855e580d0e21d2939d5391">boundingRect</a>();</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;        <span class="keywordflow">if</span> ( br.isValid() )</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        {</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;            area &amp;= br;</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;            <span class="keywordflow">if</span> ( area.isEmpty() )</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;                <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160; </div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;            rasterRect = <a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a>( xMap, yMap, area );</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;        }</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160; </div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;        QSize raster = <a class="code" href="class_qwt_plot_spectrogram.html#a27741cdb8370313fed45143b366ba4a4">contourRasterSize</a>( area, rasterRect.toRect() );</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        raster = raster.boundedTo( rasterRect.toRect().size() );</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        <span class="keywordflow">if</span> ( raster.isValid() )</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        {</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;            <span class="keyword">const</span> <a class="code" href="class_q_map.html">QwtRasterData::ContourLines</a> lines =</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;                <a class="code" href="class_qwt_plot_spectrogram.html#a2cd469661b39d9cd13ba083c3f7d513d">renderContourLines</a>( area, raster );</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160; </div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;            <a class="code" href="class_qwt_plot_spectrogram.html#a6fe73bad104b96aee6bfd89659ecf870">drawContourLines</a>( painter, xMap, yMap, lines );</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;        }</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    }</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;}</div>
<div class="ttc" id="aclass_q_list_html"><div class="ttname"><a href="class_q_list.html">QList&lt; double &gt;</a></div></div>
<div class="ttc" id="aclass_q_map_html"><div class="ttname"><a href="class_q_map.html">QMap</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__compass_8h_source.html#l00019">qwt_compass.h:19</a></div></div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector&lt; QRgb &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html"><div class="ttname"><a href="class_qwt_color_map.html">QwtColorMap</a></div><div class="ttdoc">QwtColorMap is used to map values into colors.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00037">qwt_color_map.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a0f7fae3f9e9581b47f56fd060da7860c"><div class="ttname"><a href="class_qwt_color_map.html#a0f7fae3f9e9581b47f56fd060da7860c">QwtColorMap::colorIndex</a></div><div class="ttdeci">virtual uint colorIndex(int numColors, const QwtInterval &amp;interval, double value) const</div><div class="ttdoc">Map a value of a given interval into a color index.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8cpp_source.html#l00278">qwt_color_map.cpp:278</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a></div><div class="ttdeci">@ Indexed</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00061">qwt_color_map.h:60</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a></div><div class="ttdeci">@ RGB</div><div class="ttdoc">The map is intended to map into RGB values.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00048">qwt_color_map.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_aaa71d720eb81ab3757d997b7dc421989"><div class="ttname"><a href="class_qwt_color_map.html#aaa71d720eb81ab3757d997b7dc421989">QwtColorMap::colorTable</a></div><div class="ttdeci">virtual QVector&lt; QRgb &gt; colorTable(int numColors) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8cpp_source.html#l00325">qwt_color_map.cpp:325</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_aaeaa92407f2256cafb5a38e148013845"><div class="ttname"><a href="class_qwt_color_map.html#aaeaa92407f2256cafb5a38e148013845">QwtColorMap::colorTable256</a></div><div class="ttdeci">virtual QVector&lt; QRgb &gt; colorTable256() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8cpp_source.html#l00304">qwt_color_map.cpp:304</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_aaed0bb47b6379696c588732348438136"><div class="ttname"><a href="class_qwt_color_map.html#aaed0bb47b6379696c588732348438136">QwtColorMap::rgb</a></div><div class="ttdeci">virtual QRgb rgb(const QwtInterval &amp;interval, double value) const =0</div></div>
<div class="ttc" id="aclass_qwt_interval_html"><div class="ttname"><a href="class_qwt_interval.html">QwtInterval</a></div><div class="ttdoc">A class representing an interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00022">qwt_interval.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html_a200b2674f992802666b785a941b26612"><div class="ttname"><a href="class_qwt_interval.html#a200b2674f992802666b785a941b26612">QwtInterval::width</a></div><div class="ttdeci">double width() const</div><div class="ttdoc">Return the width of an interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00227">qwt_interval.h:227</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html_ad742235a737d4d0b12cba1cab2df55f3"><div class="ttname"><a href="class_qwt_interval.html#ad742235a737d4d0b12cba1cab2df55f3">QwtInterval::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00210">qwt_interval.h:210</a></div></div>
<div class="ttc" id="aclass_qwt_linear_color_map_html"><div class="ttname"><a href="class_qwt_linear_color_map.html">QwtLinearColorMap</a></div><div class="ttdoc">QwtLinearColorMap builds a color map from color stops.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00098">qwt_color_map.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_af7da8f2bd3bda731e76b564ba44ea6e7"><div class="ttname"><a href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a></div><div class="ttdeci">static void drawLine(QPainter *, qreal x1, qreal y1, qreal x2, qreal y2)</div><div class="ttdoc">Wrapper for QPainter::drawLine()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00154">qwt_painter.h:154</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a3967414c7542e267d0c2793f02be7241"><div class="ttname"><a href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">QwtPlotItem::legendChanged</a></div><div class="ttdeci">virtual void legendChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00491">qwt_plot_item.cpp:491</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a57d90e4146133b59d589c71b3a643e82"><div class="ttname"><a href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">QwtPlotItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00165">qwt_plot_item.cpp:165</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a5a335be8ff488809a2cf7f4b734ad1b6"><div class="ttname"><a href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">QwtPlotItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00228">qwt_plot_item.cpp:228</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7"><div class="ttname"><a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7">QwtPlotItem::Rtti_PlotSpectrogram</a></div><div class="ttdeci">@ Rtti_PlotSpectrogram</div><div class="ttdoc">For QwtPlotSpectrogram.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00105">qwt_plot_item.h:105</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ad956fdbce5b0721abccce6d09fe4d5ce"><div class="ttname"><a href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">QwtPlotItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00481">qwt_plot_item.cpp:481</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00150">qwt_plot_item.h:150</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a></div><div class="ttdeci">@ AutoScale</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00157">qwt_plot_item.h:157</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae3651df9594cb48f8221f7b1cc7852ca"><div class="ttname"><a href="class_qwt_plot_item.html#ae3651df9594cb48f8221f7b1cc7852ca">QwtPlotItem::renderThreadCount</a></div><div class="ttdeci">uint renderThreadCount() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00360">qwt_plot_item.cpp:360</a></div></div>
<div class="ttc" id="aclass_qwt_plot_raster_item_html"><div class="ttname"><a href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a></div><div class="ttdoc">A class, which displays raster data.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__rasteritem_8h_source.html#l00037">qwt_plot_rasteritem.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_plot_raster_item_html_a0d93dc1cd50a43bc10bc1b1bfd457a4c"><div class="ttname"><a href="class_qwt_plot_raster_item.html#a0d93dc1cd50a43bc10bc1b1bfd457a4c">QwtPlotRasterItem::draw</a></div><div class="ttdeci">virtual void draw(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect) const override</div><div class="ttdoc">Draw the raster data.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__rasteritem_8cpp_source.html#l00614">qwt_plot_rasteritem.cpp:614</a></div></div>
<div class="ttc" id="aclass_qwt_plot_raster_item_html_a0da9b86321855e580d0e21d2939d5391"><div class="ttname"><a href="class_qwt_plot_raster_item.html#a0da9b86321855e580d0e21d2939d5391">QwtPlotRasterItem::boundingRect</a></div><div class="ttdeci">virtual QRectF boundingRect() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__rasteritem_8cpp_source.html#l00788">qwt_plot_rasteritem.cpp:788</a></div></div>
<div class="ttc" id="aclass_qwt_plot_raster_item_html_a547ce4d8d031b230226cfbd509ef65b5"><div class="ttname"><a href="class_qwt_plot_raster_item.html#a547ce4d8d031b230226cfbd509ef65b5">QwtPlotRasterItem::invalidateCache</a></div><div class="ttdeci">void invalidateCache()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__rasteritem_8cpp_source.html#l00568">qwt_plot_rasteritem.cpp:568</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a173dc74d1461ef0a78ef96e9850cda2c"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a173dc74d1461ef0a78ef96e9850cda2c">QwtPlotSpectrogram::setColorTableSize</a></div><div class="ttdeci">void setColorTableSize(int numColors)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00224">qwt_plot_spectrogram.cpp:224</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a187aedfbbaac00151004b456fed52694"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a187aedfbbaac00151004b456fed52694">QwtPlotSpectrogram::contourPen</a></div><div class="ttdeci">virtual QPen contourPen(double level) const</div><div class="ttdoc">Calculate the pen for a contour line.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00303">qwt_plot_spectrogram.cpp:303</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a1f8c30fffc82ac66f23791141bfa040c"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a1f8c30fffc82ac66f23791141bfa040c">QwtPlotSpectrogram::DisplayModes</a></div><div class="ttdeci">QFlags&lt; DisplayMode &gt; DisplayModes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8h_source.html#l00053">qwt_plot_spectrogram.h:53</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a27741cdb8370313fed45143b366ba4a4"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a27741cdb8370313fed45143b366ba4a4">QwtPlotSpectrogram::contourRasterSize</a></div><div class="ttdeci">virtual QSize contourRasterSize(const QRectF &amp;, const QRect &amp;) const</div><div class="ttdoc">Return the raster to be used by the CONREC contour algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00663">qwt_plot_spectrogram.cpp:663</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a2cd469661b39d9cd13ba083c3f7d513d"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a2cd469661b39d9cd13ba083c3f7d513d">QwtPlotSpectrogram::renderContourLines</a></div><div class="ttdeci">virtual QwtRasterData::ContourLines renderContourLines(const QRectF &amp;rect, const QSize &amp;raster) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00689">qwt_plot_spectrogram.cpp:689</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a30d8f32646e570e08b788709c1537237"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a30d8f32646e570e08b788709c1537237">QwtPlotSpectrogram::contourLevels</a></div><div class="ttdeci">QList&lt; double &gt; contourLevels() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00382">qwt_plot_spectrogram.cpp:382</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a336c5459f1e73d0d9bf1e5ab8b301419"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a336c5459f1e73d0d9bf1e5ab8b301419">QwtPlotSpectrogram::pixelHint</a></div><div class="ttdeci">virtual QRectF pixelHint(const QRectF &amp;) const override</div><div class="ttdoc">Pixel hint.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00456">qwt_plot_spectrogram.cpp:456</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a482a82bcf1b9f2a9a75f527063b394a2"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a482a82bcf1b9f2a9a75f527063b394a2">QwtPlotSpectrogram::setDisplayMode</a></div><div class="ttdeci">void setDisplayMode(DisplayMode, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00141">qwt_plot_spectrogram.cpp:141</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a4c06929746da69d6cfef748236d26c95"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a4c06929746da69d6cfef748236d26c95">QwtPlotSpectrogram::interval</a></div><div class="ttdeci">virtual QwtInterval interval(Qt::Axis) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00432">qwt_plot_spectrogram.cpp:432</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a55375b61c01962b06ad222c980ca2dcc"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a55375b61c01962b06ad222c980ca2dcc">QwtPlotSpectrogram::setColorMap</a></div><div class="ttdeci">void setColorMap(QwtColorMap *)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00177">qwt_plot_spectrogram.cpp:177</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a5b7669a3c390e30f0c51e5c4689095d2"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a5b7669a3c390e30f0c51e5c4689095d2">QwtPlotSpectrogram::setContourLevels</a></div><div class="ttdeci">void setContourLevels(const QList&lt; double &gt; &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00365">qwt_plot_spectrogram.cpp:365</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a5ee036cdf8dbaf5f8fd82a3fc47b023a"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a5ee036cdf8dbaf5f8fd82a3fc47b023a">QwtPlotSpectrogram::setData</a></div><div class="ttdeci">void setData(QwtRasterData *data)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00393">qwt_plot_spectrogram.cpp:393</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a6eca600bc0c84985029a33de20e6527a"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a6eca600bc0c84985029a33de20e6527a">QwtPlotSpectrogram::testConrecFlag</a></div><div class="ttdeci">bool testConrecFlag(QwtRasterData::ConrecFlag) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00350">qwt_plot_spectrogram.cpp:350</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a6fe73bad104b96aee6bfd89659ecf870"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a6fe73bad104b96aee6bfd89659ecf870">QwtPlotSpectrogram::drawContourLines</a></div><div class="ttdeci">virtual void drawContourLines(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QwtRasterData::ContourLines &amp;) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00709">qwt_plot_spectrogram.cpp:709</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a7d8deb32854c60c1371530ef7ded1bcb"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a7d8deb32854c60c1371530ef7ded1bcb">QwtPlotSpectrogram::renderTile</a></div><div class="ttdeci">void renderTile(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRect &amp;tile, QImage *) const</div><div class="ttdoc">Render a tile of an image.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00572">qwt_plot_spectrogram.cpp:572</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a7f4904fe68b442d0f93040ea1fa1d062"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062">QwtPlotSpectrogram::DisplayMode</a></div><div class="ttdeci">DisplayMode</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8h_source.html#l00044">qwt_plot_spectrogram.h:45</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a7f4904fe68b442d0f93040ea1fa1d062a64e86465a6d48ad80c4baadb144f9cf8"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062a64e86465a6d48ad80c4baadb144f9cf8">QwtPlotSpectrogram::ContourMode</a></div><div class="ttdeci">@ ContourMode</div><div class="ttdoc">The data is displayed using contour lines.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8h_source.html#l00051">qwt_plot_spectrogram.h:50</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a7f4904fe68b442d0f93040ea1fa1d062ac9696cad413e4a11a4721779728fb9e3"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a7f4904fe68b442d0f93040ea1fa1d062ac9696cad413e4a11a4721779728fb9e3">QwtPlotSpectrogram::ImageMode</a></div><div class="ttdeci">@ ImageMode</div><div class="ttdoc">The values are mapped to colors using a color map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8h_source.html#l00047">qwt_plot_spectrogram.h:47</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_a944d629a50498e734397151e7d3228ff"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#a944d629a50498e734397151e7d3228ff">QwtPlotSpectrogram::colorTableSize</a></div><div class="ttdeci">int colorTableSize() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00238">qwt_plot_spectrogram.cpp:238</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_aa128ac4b02ad125955cb14fe5c47ca6d"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#aa128ac4b02ad125955cb14fe5c47ca6d">QwtPlotSpectrogram::QwtPlotSpectrogram</a></div><div class="ttdeci">QwtPlotSpectrogram(const QString &amp;title=QString())</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00108">qwt_plot_spectrogram.cpp:108</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_aaecfced36df660ddb5ecf9d9450cd661"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#aaecfced36df660ddb5ecf9d9450cd661">QwtPlotSpectrogram::data</a></div><div class="ttdeci">const QwtRasterData * data() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00409">qwt_plot_spectrogram.cpp:409</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_aaf698b145c2d01e21567362f9d919498"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#aaf698b145c2d01e21567362f9d919498">QwtPlotSpectrogram::colorMap</a></div><div class="ttdeci">const QwtColorMap * colorMap() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00200">qwt_plot_spectrogram.cpp:200</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_ab938bf688a9edde10a8846c754923a4c"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#ab938bf688a9edde10a8846c754923a4c">QwtPlotSpectrogram::testDisplayMode</a></div><div class="ttdeci">bool testDisplayMode(DisplayMode) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00161">qwt_plot_spectrogram.cpp:161</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_ac92832bf4f81210a1004a030857f4f69"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#ac92832bf4f81210a1004a030857f4f69">QwtPlotSpectrogram::draw</a></div><div class="ttdeci">virtual void draw(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect) const override</div><div class="ttdoc">Draw the spectrogram.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00754">qwt_plot_spectrogram.cpp:754</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_adcec06278d4ff4b8dd3a85e2ef188d7b"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#adcec06278d4ff4b8dd3a85e2ef188d7b">QwtPlotSpectrogram::setConrecFlag</a></div><div class="ttdeci">void setConrecFlag(QwtRasterData::ConrecFlag, bool on)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00324">qwt_plot_spectrogram.cpp:324</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_adde79ed6e9697d155db6749b40af87a3"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#adde79ed6e9697d155db6749b40af87a3">QwtPlotSpectrogram::rtti</a></div><div class="ttdeci">virtual int rtti() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00126">qwt_plot_spectrogram.cpp:126</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_ae76415d290cf4a512d07a17260b7a84a"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#ae76415d290cf4a512d07a17260b7a84a">QwtPlotSpectrogram::~QwtPlotSpectrogram</a></div><div class="ttdeci">virtual ~QwtPlotSpectrogram()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00120">qwt_plot_spectrogram.cpp:120</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_af883cb50d74057994b3179ab0e262e64"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#af883cb50d74057994b3179ab0e262e64">QwtPlotSpectrogram::setDefaultContourPen</a></div><div class="ttdeci">void setDefaultContourPen(const QColor &amp;, qreal width=0.0, Qt::PenStyle=Qt::SolidLine)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00256">qwt_plot_spectrogram.cpp:256</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_afad1891c348cb65f4dcb891df022cb53"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#afad1891c348cb65f4dcb891df022cb53">QwtPlotSpectrogram::renderImage</a></div><div class="ttdeci">virtual QImage renderImage(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;area, const QSize &amp;imageSize) const override</div><div class="ttdoc">Render an image from data and color map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00480">qwt_plot_spectrogram.cpp:480</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectrogram_html_afd1ebcdd70da66632a996bb57f6102e3"><div class="ttname"><a href="class_qwt_plot_spectrogram.html#afd1ebcdd70da66632a996bb57f6102e3">QwtPlotSpectrogram::defaultContourPen</a></div><div class="ttdeci">QPen defaultContourPen() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrogram_8cpp_source.html#l00287">qwt_plot_spectrogram.cpp:287</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html"><div class="ttname"><a href="class_qwt_raster_data.html">QwtRasterData</a></div><div class="ttdoc">QwtRasterData defines an interface to any type of raster data.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00042">qwt_raster_data.h:43</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_a2632728957a7c118d225d63ab539b21d"><div class="ttname"><a href="class_qwt_raster_data.html#a2632728957a7c118d225d63ab539b21d">QwtRasterData::ContourLines</a></div><div class="ttdeci">QMap&lt; double, QPolygonF &gt; ContourLines</div><div class="ttdoc">Contour lines.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00046">qwt_raster_data.h:46</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_a32c7f179e655dcc2fca1fdb851c1570e"><div class="ttname"><a href="class_qwt_raster_data.html#a32c7f179e655dcc2fca1fdb851c1570e">QwtRasterData::ConrecFlags</a></div><div class="ttdeci">QFlags&lt; ConrecFlag &gt; ConrecFlags</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00086">qwt_raster_data.h:86</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_aa9a0ea0f92af158a354421c3651fdfafac421ef9c406513f8c068aa88794f48c2"><div class="ttname"><a href="class_qwt_raster_data.html#aa9a0ea0f92af158a354421c3651fdfafac421ef9c406513f8c068aa88794f48c2">QwtRasterData::WithoutGaps</a></div><div class="ttdeci">@ WithoutGaps</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00072">qwt_raster_data.h:71</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_ac0053b66315fde6f0a9a69c40d7c5dcc"><div class="ttname"><a href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">QwtRasterData::ConrecFlag</a></div><div class="ttdeci">ConrecFlag</div><div class="ttdoc">Flags to modify the contour algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00077">qwt_raster_data.h:78</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c"><div class="ttname"><a href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c">QwtRasterData::IgnoreOutOfRange</a></div><div class="ttdeci">@ IgnoreOutOfRange</div><div class="ttdoc">Ignore all values, that are out of range.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00084">qwt_raster_data.h:83</a></div></div>
<div class="ttc" id="aclass_qwt_raster_data_html_ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92"><div class="ttname"><a href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92">QwtRasterData::IgnoreAllVerticesOnLevel</a></div><div class="ttdeci">@ IgnoreAllVerticesOnLevel</div><div class="ttdoc">Ignore all vertices on the same level.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__raster__data_8h_source.html#l00080">qwt_raster_data.h:80</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a504f1627e0e02ddac03d2ce46507b865"><div class="ttname"><a href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a></div><div class="ttdeci">double transform(double s) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00137">qwt_scale_map.h:137</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_ab1ee6d62addf3f9cf091d425be9ac642"><div class="ttname"><a href="class_qwt_scale_map.html#ab1ee6d62addf3f9cf091d425be9ac642">QwtScaleMap::invTransform</a></div><div class="ttdeci">double invTransform(double p) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00154">qwt_scale_map.h:154</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_plot_spectrogram.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
